Skip to content

Scope Doors preview browser checks to changed pages - #1278

Merged
LukasWallrich merged 18 commits into
rebrand-doorsfrom
rebrand-page-scoped-ci
Nov 24, 2026
Merged

LukasWallrich merged 18 commits into
rebrand-doorsfrom
rebrand-page-scoped-ci

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Ordinary PRs into rebrand-doors run the source rules, internal-link and built HTML checks alongside the scoped browser jobs. The browser jobs reuse a successful push build at the exact PR base when its input manifest matches. CSS and JS changes add the core sample. Changes to static files, non-bundle assets or check infrastructure, the full-checks label and diffs over 60 pages use the full browser suite.

Pushes to rebrand-doors, the launch PR from rebrand-doors to main and manual dispatches also build the merge base with main and compare URLs, structured data and SEO tags. The launch comparison uses the Doors head. The final gate checks each job against the result expected for the event, and only pushes deploy.

Single-page benchmark (2026-11-22, UTC)

Draft #1289 changed one sentence on /replication-hub/submit/. The preview run used a temporary copy of the updated Doors base and had no reusable push build. Both browser jobs selected only the changed page. The draft was closed and both temporary branches were deleted.

Job Start End Result
Resolve build inputs 11:07:17 11:07:20 Pass
Build 11:07:23 11:12:12 Pass
Build PR base 11:07:23 11:10:20 Pass
Build main reference — — Skipped
Source and built site checks 11:12:15 11:12:59 Pass
Designed screens 11:12:15 11:13:18 Pass
Accessibility rules 11:12:15 11:13:10 Pass
Compare with main — — Skipped
Deploy preview — — Skipped
Check results 11:13:21 11:13:24 Pass

The gate passed 6m 07s after the first job started. The 44-second source and built-site check ran in parallel with both browser jobs.

Earlier benchmarks

Parallel reference benchmark (UTC)

Draft #1286's Doors preview run changed one Markdown page and selected only /replication-hub/submit/. The temporary base enabled the workflow trigger and had no reusable push build. The draft was closed and both temporary branches were deleted.

Job Start End Result
Resolve build inputs 13:37:25 13:37:28 Pass
Build 13:37:31 13:40:35 Pass
Build PR base 13:37:31 13:40:35 Pass
Build main reference 13:37:31 13:39:11 Pass
Compare with main 13:40:38 13:41:55 Pass
Designed screens 13:40:38 13:41:44 Pass
Accessibility rules 13:40:38 13:41:44 Pass
Deploy preview 13:40:36 13:40:36 Skipped
Check results 13:41:58 13:42:00 Pass

The gate passed 4m 35s after the first job started. Compare with main took 1m 17s, down from 2m 27s in the earlier content-only run. Candidate build times also differed between the runs.

Local validation passed for actionlint, 209 unit tests, the Hugo build, SEO HTML, sitemap lastmod against source history, and the comparison with main using production artifacts.

Earlier job timings on 2026-11-21 (UTC)

The draft PRs targeted a temporary base branched from this head, with deployment disabled and only the branch triggers changed. All three reused the same successful push build. In the previous cold runs the base job took 4m 32s for content and 5m 36s for CSS. With reuse it took 22–24s, and the browser jobs started as soon as the candidate was ready.

Job Content only CSS only CSS + content
Resolve build inputs 13:10:27–13:10:30 (3s) 13:17:12–13:17:15 (3s) 13:17:11–13:17:15 (4s)
Build 13:10:38–13:15:26 (4m 48s) 13:17:17–13:21:54 (4m 37s) 13:17:18–13:21:41 (4m 23s)
Build PR base 13:10:33–13:10:55 (22s) 13:17:17–13:17:41 (24s) 13:17:18–13:17:40 (22s)
Designed screens 13:15:29–13:16:17 (48s) 13:21:57–13:26:42 (4m 45s) 13:21:44–13:26:08 (4m 24s)
Accessibility rules 13:15:29–13:16:19 (50s) 13:21:57–13:25:09 (3m 12s) 13:21:44–13:25:32 (3m 48s)
Compare with main 13:15:29–13:17:56 (2m 27s) 13:21:57–13:24:51 (2m 54s) 13:21:45–13:24:57 (3m 12s)
Check results 13:17:59–13:18:03 (4s) 13:26:44–13:26:46 (2s) 13:26:11–13:26:20 (9s)
First job start to gate end 7m 36s 9m 34s 9m 09s

All three Doors checks passed. The content trial selected only the edited educators-corner page. The CSS trial selected core mode with zero changed HTML pages and 46 article pages. The mixed trial retained the core sections, added the edited article to the article set for 47 pages, and ran its call-out and phone-reading sections. The initial CSS fixture did not change the emitted bundle, so the table uses the corrected stylesheet-token trials. All three drafts were closed and their branches and the temporary base removed.

Earlier workflow totals, including queueing
Workflow Content-only PR CSS-only PR Full
Before #1278 ~11 min ~11 min ~11 min
First #1278 version 7m 51s 10m 28s —
Updated, cold cache 6m 43s 11m 00s 11m 13s
Updated, warm-cache rerun 7m 00s 5m 45s, Contributors only —

Implemented with GPT-6.2 Sol in Codex.

🤖 Generated with Claude Code

@LukasWallrich
LukasWallrich requested a review from a team as a code owner November 21, 2026 11:30
@github-actions

Copy link
Copy Markdown
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 9 changed file(s)! 🎉

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/rebrand/check_design.py Resolved
Comment thread scripts/rebrand/changed_pages.py Resolved
Comment thread .github/workflows/rebrand-preview.yaml Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/rebrand-preview.yaml Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/rebrand-preview.yaml Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/rebrand-preview.yaml Resolved
Comment thread .github/workflows/rebrand-preview.yaml Resolved
Comment thread scripts/rebrand/check_design.py Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/README.md Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/rebrand-preview.yaml Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread scripts/rebrand/link_allowlist.txt Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread .github/workflows/rebrand-preview.yaml Resolved
LukasWallrich and others added 4 commits November 22, 2026 11:11
Keeps rebrand-doors' new JUST-OS phone, tablet and floating-launcher checks and
gates each of their pages on the changed-page selection, so a page-scoped run
covers the home page, /reversals/, /resources/ and /about/get-involved/ when
they change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rebrand-doors moved the JUST-OS launcher checks (phone Menu row, tablet hiding,
cookie banner, reduced motion) into check_phone_reading. They test CSS and JS,
so a CSS- or JS-only PR now runs them in full instead of skipping them for want
of a changed page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

👍 All content rules passed (WebP images/references and canonical doi.org links).

@LukasWallrich
LukasWallrich merged commit f2954da into rebrand-doors Nov 24, 2026
13 of 14 checks passed
@LukasWallrich
LukasWallrich deleted the rebrand-page-scoped-ci branch November 24, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant